package mysql

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Account       string `gorm:"type:varchar(30);unique;not null;comment:'用户名啊'"`
	Password      string `gorm:"type:char(32);not null;comment:'，密码吗'"`
	Name          string `gorm:"type:varchar(20);not null;comment:'活动标题'"`
	ManageContext string `gorm:"type:varchar(50);not null;comment:'活动详情'"`
	HeadImage     string `gorm:"type:varchar(255);not null;comment:'，头像'"`
}
